home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0244 / common.jar / text / common / explorer / database / 02000000.xml next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  6.0 KB  |  66 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Queries</title><meta name="filename" content="text/common/explorer/database/02000000"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:0.979cm;}
  8.         span.Tabelle1B{
  9.                 width:17.02cm;}
  10.         p.P1{
  11.                 }
  12.         p.P2{
  13.                 }
  14.         span.T1{
  15.                 font-weight:bold;}
  16.         span.fr1{
  17.                 }
  18.         </style></head><body>
  19.   
  20.   
  21.   <help:to-be-embedded Eid="abfragen" xmlns:help="http://openoffice.org/2000/help">
  22.   <p class="Head1"><help:key-word value="queries; creating and editing" tag="kw66196_1"/><help:link Id="66196">Queries</help:link></p>
  23.   <p class="Paragraph">Queries are special views of tables, which can, for example, display certain records or only a few fields per record and if required also sort those records. A query can be for one table as well as for multiple tables, if they are linked by common data fields.</p>
  24.   </help:to-be-embedded>
  25.   <help:popup Id="67813" Eid="abfragen" xmlns:help="http://openoffice.org/2000/help"><help:embedded Id="65598" Eid="wie"/></help:popup>
  26.   <p class="Paragraph">Use queries to find records from data tables based on certain criteria. All queries created for a database are listed under the <span class="T1">Queries</span> entry. Since this entry contains the database queries, it is also called the "query container".</p>
  27.   <p class="Head2">Printing queries<help:key-word value="tables; printing" tag="kw66196_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="printing; queries" tag="kw66196_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="queries; printing" tag="kw66196_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  28.   <p class="Paragraph">For printing a query or table do the following:</p>
  29.   <ol class="L1">
  30.    <li class="">
  31.     <p class="P2">Open a text document (or a spreadsheet document if you prefer the specific printing functions of this type of document).</p>
  32.    </li>
  33.    <li class="">
  34.     <p class="P2">Open the database so that you can see the name of the query or table as an entry.</p>
  35.    </li>
  36.    <li class="">
  37.     <p class="P2">Drag the name into the open document. You now see the dialog <help:link Id="65967" xmlns:help="http://openoffice.org/2000/help">Insert Database Columns</help:link></p>
  38.    </li>
  39.    <li class="">
  40.     <p class="P2">Decide which columns = data fields you want to include. You can also click the AutoFormat button and select a corresponding formatting. Close the dialog.</p>
  41.    </li>
  42.   </ol>
  43.   <p class="Paragraph">The query or table will be inserted in your document. If you want, you can perform further modifications and print the document.</p>
  44.   <table><tr class=""><td style="text-align:left;"><span class="Tabelle1A">
  45.      <p class="Paragraph"><draw:image draw:style-name="fr1" draw:name="HIND_4" text:anchor-type="paragraph" svg:width="0.847cm" svg:height="0.847cm" draw:z-index="0" xlink:href="66732" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  46.     </span></td><td style="text-align:left;"><span class="Tabelle1B">
  47.      <p class="Paragraph">You can also select the entire database table in the data source view (button in the top left corner of the table) and then drag this to a text document or spreadsheet.</p>
  48.     </span></td></tr></table>
  49.   <p class="Paragraph">The <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Help provides you with further information about the following subjects:</p>
  50.   <p class="Head2"><help:link Id="67914" xmlns:help="http://openoffice.org/2000/help">Creating a New Query</help:link></p>
  51.   <p class="Paragraph">In the context menu of a query container open the command <span class="T1">New</span>.</p>
  52.   <help:embedded Id="65806" Eid="umgang" xmlns:help="http://openoffice.org/2000/help"/>
  53.   <p class="Head2"><help:link Id="65557" xmlns:help="http://openoffice.org/2000/help">Sorting and Filtering Data</help:link></p>
  54.   <p class="Paragraph">If you want to change the view of the data in a query table, you can use the sorting and filter functions.</p>
  55.   <p class="Head2"><help:link Id="66162" xmlns:help="http://openoffice.org/2000/help">Query Design</help:link></p>
  56.   <p class="Paragraph">The query design window offers you all the possibilities to query tables. A SQL command will be interactiv generated which you can also reedit manually.</p>
  57.   <help:embedded Id="65564" Eid="sql" xmlns:help="http://openoffice.org/2000/help"/>
  58.   <p class="Head2"><help:link Id="66162" Eid="beziehungen" xmlns:help="http://openoffice.org/2000/help">Query via Several Tables</help:link></p>
  59.   <p class="Paragraph">The query result can contain data from several tables if these are linked to each other by suitable data fields.</p>
  60.   <p class="Head2"><help:link Id="66162" Eid="sqlbefehle" xmlns:help="http://openoffice.org/2000/help">Formulating Query Criteria</help:link></p>
  61.   <p class="Paragraph">Here, you will find out which operators and commands can be used to formulate the filter conditions for a query.</p>
  62.   <p class="Head2"><help:link Id="66162" Eid="aggregatfunktionen" xmlns:help="http://openoffice.org/2000/help">Executing Functions</help:link></p>
  63.   <p class="Paragraph">You can perform calculations with the data of a table and store the results as a query result.</p>
  64.   <p class="Head2"><help:link Id="66162" Eid="sql" xmlns:help="http://openoffice.org/2000/help"><help:productname>%PRODUCTNAME</help:productname> and SQL</help:link></p>
  65.   <p class="Paragraph"><help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> "understands" SQL. The syntax used depends on the database system you are using.</p>
  66.  </body></html>